<?php

set_include_path(get_include_path().PATH_SEPARATOR.realpath(dirname(__FILE__).'/lib/'));

require_once 'Nanoframe.php';
require_once 'Templateable.php';
require_once 'Ajaxable.php';
require_once 'Layoutable.php';


$nf = Nanoframe::getInstance();
try {
	$nf->runCtrl();
} catch(Exception $e) {
	$nf->handleException($e);
}
